package com.anyonavinfo.cpaddemo.data.appinfo;

/**
 * Created by ZuiC on 2017/1/18.
 */

public class AppInfo {

    private String mAppName;
    private String mAppPackageName;
    private String mAppVersionCode;
    private String mAppVersionName;
    private int mAppIcon;
    private int mAppPosition;
    private boolean isInstalled;

    public AppInfo(String mAppName, String mAppPackageName, String mAppVersionCode, String mAppVersionName
    , int mAppIcon, int mAppPosition, boolean isInstalled){

        this.mAppName = mAppName;
        this.mAppPackageName = mAppPackageName;
        this.mAppVersionCode = mAppVersionCode;
        this.mAppVersionName = mAppVersionName;
        this.mAppIcon = mAppIcon;
        this.mAppPosition = mAppPosition;
        this.isInstalled = isInstalled;
    }

    public String getAppPackageName(){
        return this.mAppPackageName;
    }

    public boolean getIsInstalled(){
        return this.isInstalled;
    }

    public void setAppPackageName(String packageName){
        this.mAppPackageName = packageName;
    }

    public void setIsInstalled(boolean isInstalled){
        this.isInstalled = isInstalled;
    }

    public int getAppIcon(){
        return mAppIcon;
    }
}
